﻿using System.Collections.Generic;
using System.Runtime.Serialization;

namespace com.Bliss.Infrastructure
{
    [DataContract]
    public class TypedCollectionResponse<T>: Response
    {
        public TypedCollectionResponse(IEnumerable<T> collection)
        {
            this.DataCollection = collection;
        }
        [DataMember]
        public IEnumerable<T> DataCollection { get; private set; }
    }
}
